'Declaration
<ExtensionAttribute()> <NotNullAttribute()> Public Overloads Shared Function ObtainNewCertificateAsync( _ ByVal application As IEasyUAClientServerApplication, _ ByVal parameters As UACertificateRequestParameters, _ ByVal progress As IProgress(Of String()) _ ) As Task(Of IPkiCertificate)
'Usage
Dim application As IEasyUAClientServerApplication Dim parameters As UACertificateRequestParameters Dim progress As IProgress(Of String()) Dim value As Task(Of IPkiCertificate) value = IEasyUAClientServerApplicationExtension.ObtainNewCertificateAsync(application, parameters, progress)
[Extension()] [NotNull()] public static Task<IPkiCertificate> ObtainNewCertificateAsync( IEasyUAClientServerApplication application, UACertificateRequestParameters parameters, IProgress<string[]> progress )
[Extension()] [NotNull()] public: static Task<IPkiCertificate^>^ ObtainNewCertificateAsync( IEasyUAClientServerApplication^ application, UACertificateRequestParameters^ parameters, IProgress<array<String^>>^ progress )
Parameters
- application
- The OPC UA client/server application object that will perform the operation.
In client applications, this is typically obtained by calling System.IServiceProvider.GetService(System.Type) on the OpcLabs.EasyOpc.UA.IEasyUAClient (
EasyUAClient
object) with the type of OpcLabs.EasyOpc.UA.Application.IEasyUAClientServerApplication as an argument.The value of this parameter cannot be
null
(Nothing
in Visual Basic). - parameters
- The parameters describing how the certificate should be obtained.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - progress
- A provider for progress updates.
The value of this parameter can be
null
(Nothing
in Visual Basic).
Return Value
This method never returns null
(Nothing
in Visual Basic).